<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>西月开源框架提示</title>
	<style type="text/css">
		div.main{
			font-family: Monaco,Menlo,Consolas, "Courier New",monospace;
			font-family: "Microsoft Yahei","Helvetica Neue",Helvetica,Arial,sans-serif;
			padding: 10px;
			margin-left: 30px;
		}
		div.pic{
			font-size: 105px;
			padding-bottom: 10px;
			font-family: "微软雅黑";
			font-size: 128px;
		}
		div.msg{
			font-size: 28px;
			margin-bottom: 30px;
		}
		div.info{
			font-size: 30px;
			margin-bottom: 10px;
		}
		div.info div.title, div.trace div.title{
			font-size: 18px;
			font-weight: bold;
		}
		div.info div.path{
			font-size: 16px;
			line-height: 1.5em
		}
		div.copyright{
			font-family: "Microsoft Yahei","Helvetica Neue",Helvetica,Arial,sans-serif;
			padding: 10px 0px;
			color: #aaaaaa;
			text-align: left;
		}
		div.copyright a{
			color: #000;
			text-decoration: none;
			font-size: 20px;
		}
		div.copyright a.hd{
			font-size: 14px;
			color: #aaaaaa;
		}
	</style>
</head>
<body>
	<div class="main">
		<div class="pic">
			:(
		</div>
		<div class="msg">
			<?php echo $err['message']; ?>:(
		</div>
		<?php if(DEBUG && isset($err['file'])):?>
		<div class="info">
			<div class="title">
				错误位置：
			</div>
			<div class="path">
				FILE:<?php echo $err['file'].'Line'.$err['line']; ?>
			</div>
		</div>
		<?php endif ?>
		<?php if(isset($err['trace'])):?>
		<div class="info">
			<div class="title">
				Trace:
			</div>
			<div class="path">
				<?php echo nl2br($err['trace']); ?>
			</div>
		</div>
		<?php endif ?>
		<div class="copyright">
			<a href="javascript:void(0);" title="西月" target="_blank">
				<b>西月开源框架</b>
			</a>
			(<?php echo XY_VERSION;?>)
			[<a href="javascript:void(0);" class="hd" title="西月" target="_blank">西月开源框架</a>]
		</div>
	</div>
</body>
</html>